/* Possible states of a soldier; */
typedef enum  {Quiet, Ready, Laying, Standing, X, Fire } soldier_state;

struct soldier {
  int id;
  soldier_state state;
  struct barrier* turn;
};  


int numOfSoldiers;
soldier_state* states;			//main soldiers states array:

//struct soldier* soldiers;		//main soldiers array - seems right now we dont need it global, only used in main, and here caused troubles
